package com.artifact.mit.mypoint.activity;

import android.os.Bundle;
import android.support.v4.app.ListFragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.artifact.mit.mypoint.R;
import com.artifact.mit.mypoint.async.ProductListAsync;

public class ProductListActivity extends ListFragment {

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		return inflater.inflate(R.layout.catalogue_content_detail, null);
	}

	@Override
	public void onActivityCreated(Bundle savedInstanceState) {
		super.onActivityCreated(savedInstanceState);
		new ProductListAsync(getActivity(), getListView()).execute(getArguments().getString("catalogId"));
	}
}
